<template>
<uni-shadow-root class="partials-footer-index"><block v-if="setting">
  
  <view class="buttom" @click="buttom"><text>技术支持：{{setting.platformSetting.jishuzhichi}}-V{{version}}</text></view>
</block></uni-shadow-root>
</template>

<script>

global['__wxRoute'] = 'partials/footer/index'
const app = getApp();
Component({
  properties: {
    receiveData: {
      type: JSON,
      value: 'default value',
    }
  },
  data: {
    someData: {},
    sysWidth:"",
    version:'',
    setting:null,
  },
  ready:function(){
    this.setData({
      sysWidth: app.globalData.sysWidth,
      setting:app.globalData.setting,
      version:app.globalData.version,
    });
  },
  methods: {
    buttom: function () {
      app.globalData.wxLogin(1011)
    },
    tolinkUrl: function (event) {
      console.log(event.currentTarget.dataset.link)
      app.globalData.linkEvent(event.currentTarget.dataset.link);
    }
  },
})
export default global['__wxComponents']['partials/footer/index']
</script>
<style platform="mp-weixin">
.buttom {
height:50rpx;
margin:20rpx;
text-align:center;
}
.buttom text {
display:block;
font-size:24rpx;
line-height:50rpx;
color:#999;

}
</style>